package com.ebupt.jetpackframework

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.ebupt.common.base.BaseActivity
import com.ebupt.jetpackframework.databinding.ActivityMainBinding
import org.koin.androidx.viewmodel.ext.android.viewModel

class MainActivity : BaseActivity<ActivityMainBinding>() {

    private val viewModel by viewModel<MainViewModel>()

    override fun getLayoutId(): Int = R.layout.activity_main

    override fun initData() {
        super.initData()
        viewDataBinding.vm = viewModel
    }

}